package com.xidian.zhiancloud.service.myyb;

import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xidian.zhiancloud.dao.SysCompanyMapper;
import com.xidian.zhiancloud.model.SysCompany;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 公司
 */
@Service
public class ICompanyService extends ServiceImpl<SysCompanyMapper, SysCompany> implements IService<SysCompany> {

    @Autowired
    private SysCompanyMapper companyMapper;

    public List<SysCompany> selectByCompanyName(String name){
        return companyMapper.selectByCompanyName(name);
    }

}
